package com.hejing.project03_优尚开发团队人员调度系统.domain;

/**
 * ClassName: Notebook
 * Package: com.hejing.project03_优尚开发团队人员调度系统.domain
 * Description:
 *
 * @Author: HeJing
 * @Create: 2023-04-12 10:49
 * @Version: 1.0
 */
public class NoteBook implements Equipment{

    // 属性:
    private String model;
    private double price;

    // 构造器
    public NoteBook() {
    }

    public NoteBook(String model, double price) {
        this.model = model;  // 机器型号
        this.price = price;  // 机器价格
    }

    // get set

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }


    // toString

    @Override
    public String getDescription() {
        return model + "(" + price + ")";
    }
}































